//var path = require('path');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var path = require('path');

var pathToSassLoader = path.resolve(__dirname, './app/index.js');


module.exports = {
    devtool: 'eval-source-map',
    entry: __dirname + "/app/index.js",
    output: {
        path: __dirname + "/dist",
        filename: "bundle.js"
    },
    module: {
        loaders: [
            {
                test: /\.scss$/,
                loader: "style!css!sass"
            }
        ]
    }
}